package liangtWorkSpace.proxy.cglib.aop;

/**
 * @ClassName EnhancerTest
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/12 12:55
 */

public class EnhancerTest {
    public static void main(String[] args)throws Exception {
        HelloWorld helloWorld = new HelloWorld();
        ProxyFactory proxyFactory = new ProxyFactory();
        HelloWorld world = (HelloWorld) proxyFactory.createProxy(helloWorld);
        System.out.println(world.say(true));
    }
}
